import request from '@/utils/request'

// 查询frontreport列表
export function listFrontreport(query) {
  return request({
    url: '/system/frontreport/list',
    method: 'get',
    params: query
  })
}

// 查询frontreport详细
export function getFrontreport(reportid) {
  return request({
    url: '/system/frontreport/' + reportid,
    method: 'get'
  })
}

// 新增frontreport
export function addFrontreport(data) {
  return request({
    url: '/system/frontreport',
    method: 'post',
    data: data
  })
}

// 修改frontreport
export function updateFrontreport(data) {
  return request({
    url: '/system/frontreport',
    method: 'put',
    data: data
  })
}

// 删除frontreport
export function delFrontreport(reportid) {
  return request({
    url: '/system/frontreport/' + reportid,
    method: 'delete'
  })
}
